package org.dairy.farms.dao;

import org.dairy.farms.dao.generic.DAO;
import org.dairy.farms.model.Expense;
import org.dairy.farms.model.LivestockExpense;

import java.util.List;

/**
 * Created by IntelliJ IDEA.
 * User: gduggira
 * Date: Jun 10, 2011
 * Time: 1:51:38 PM
 */
public interface ExpenseDAO extends DAO<Expense, Long> {
    List<Expense> findByLivestockId(Long livestockId, int page, int start, int limit);

    List<Expense> findByLivestockId(Long livestockId);
}
